import axios from 'axios';

class HttpClient {
    constructor() {
        this.client = axios;
    }

    get(url) {
        return this.client.get(url)
    }

    post(url, obj) {
        return this.client.post(url, obj)
    }

}

export {HttpClient}